package com.yqs.model.service.impl;

import com.yqs.model.mapper.AdminMapper;
import com.hjl.pojo.Admin;
import com.yqs.model.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ServivE
 * @version 0.1
 * @className AdminServiceImpl
 * @description
 * @date 2024/8/20 15:53
 * @since jdk17
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin selectAnameAndApwd(Admin admin) {
        Admin admin1 = adminMapper.selectAnameAndApwd(admin);
        return admin1;
    }
}
